package com.ghj.demo2;

import org.springframework.objenesis.instantiator.basic.NewInstanceInstantiator;

/**
 * @author ghj
 * @create 2023-06-17 19:31
 */
public class Client {
    public static void main(String[] args) {

        UserServiceImpl userService = new UserServiceImpl();
        UserServiceProxy userServiceProxy = new UserServiceProxy();
        userServiceProxy.setUserService(userService);
        userServiceProxy.add();
        userServiceProxy.delete();
        userServiceProxy.update();
        userServiceProxy.query();
    }
}
